package com.bajiao.mapper.user;

import com.bajiao.entity.user.UserCoupon;
import com.bajiao.vo.coupon.CouponResponse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 用户优惠券表
 * @Author: FanJq
 * @Date:   2024-12-13
 * @Version: V1.0
 */
public interface UserCouponMapper extends BaseMapper<UserCoupon> {

    /**
     * @Description
     * 获取用户优惠券
     * @date 2025/2/21 17:46
     * @author FanJq
     * @param userId
     * @return {@link List< CouponResponse>}
    */
    List<UserCoupon> getUserCouponList(@Param("userId") String userId);
}
